package com.jwt.furn.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 如果类名与表名不能对应，可以通过前面的 @TableName 来指定
 * @author jiawentao
 * @date 2023-02-19
 */
@Data
@TableName("furn")
public class Furn {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String maker;
    private Double price;
    private Integer sales;
    private Integer stock;

}
